{% extends "base.html" %}

{% block menuItems %}
  <div id="menuItemRight"> <a href="/signup">tilmeld</a> </div>
  <div id="menuItemRight"> <a href="/about">Hvad er zentienz?</a> </div>
{% endblock %}

{% block content %}
   <div id="center">  
      <form id=login method="post">
        {% if person %}
          <div id=email>Hej {{person.firstName|safe}}</div>
          <br>
          <label for=password>Password</label>
          <input id=password type=password autofocus required>
        {% else %}
          <label for=email>Email</label>
          <input id=email name=email required autofocus>
          <br>
          <label for=password>Password</label>
          <input id=password name=password type=password required>
        {% endif %}
        <div id="center">  
          <button type=submit>Forts&aelig;t</button>
        </div>
      </form>
    </div>
{% endblock %}
